.schedule-card {
  .card-title {
    padding-bottom: 20px;
  }

  .schedule-cardfooter {
    .react-ripples {
      width: 100%;
    }

    .btn-footer {
      padding: 14px 2rem;
    }
  }

  .card-subtitle {
    color: #6F64F8;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    text-transform: uppercase;
  }

  .schedule-cardheader {
    display: flex;
    flex-direction: column;
    align-items: self-start;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .activity-timeline {
    margin-bottom: 0;

    li:last-child {
      margin-bottom: 0;
      padding-bottom: 20px;
    }
  }

  .schedule-cardbody {
    max-height: 602px;
    min-height: 300px;
    overflow-y: auto;
    padding-bottom: 0;


    &::-webkit-scrollbar {
      width: 8px;
    }

    &::-webkit-scrollbar-track {
      background: #10163a;
      cursor: pointer;
    }

    &::-webkit-scrollbar-thumb {
      background: #7367f0;
      border-radius: 1px;
    }

    &::-webkit-scrollbar-thumb:hover {
      background: #7367f0;
    }
  }


  .span-colored {
    color: #6F64F8;
    cursor: pointer;

    &:hover {
      text-decoration: underline;
    }
  }

  .timeline-name {
    margin-bottom: 10px !important;
  }

  .timeline-name {
    &:hover {
      color: #d3d3d3;
    }
  }

  .timeline-icon {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background-color: white;
  }

  .activity-timeline.timeline-left {
    padding-left: 28px !important;
  }

  .schedule-popover-620 {
    display: none;
  }

}

.schedule-popover-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  width: 100%;
}

.schedule-popver-edit-text, .schedule-popver-delete-text  {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  text-transform: uppercase;
}

.schedule-popver-edit-text {
  padding-left: 4px;
}

.popover-body {
  display: flex;
}

body.dark-layout .timeline-icon {
  background-color: #10163a;
}

.schedule-popover-header {
  display: flex;
  justify-content: space-between;
  padding-top: 15px;
  align-items: center;
  position: relative;
  padding-bottom: 40px;
}

.schedule-popover-name {
  width: calc(100% - 25px);
  display: flex;
  justify-content: center;
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  color: #FFFFFF;
}

.schedule-passengers-name {
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 19px;
  text-align: center;
  color: #10163a;
}

.schedule-passengers-card {
  max-height: 200px;
  overflow-y: auto;

  &::-webkit-scrollbar {
    width: 8px;
  }

  &::-webkit-scrollbar-track {
    background: #10163a;
    cursor: pointer;
  }

  &::-webkit-scrollbar-thumb {
    background: #7367f0;
    border-radius: 1px;
  }

  &::-webkit-scrollbar-thumb:hover {
    background: #7367f0;
  }
}

body.dark-layout .schedule-passengers-name {
  color: #EBEEFC;
}
.schedule-popover-item {
  font-family: Montserrat;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 19px;
  color: #FFFFFF;
  padding-bottom: 11px;
}

.schedule-popover-close {
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;

}

.CloseIcon:hover {
  filter: invert(0.9)
}

.cost-popver-footer {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  .schedule-popver-edit{
    display: flex;
    align-items: center;
  }
}

.schedule-popver-edit:hover .Edit {
  filter: invert(0.1);
}

.schedule-popver-edit:hover .schedule-popver-edit-text {
  color: #eaebf3 !important;
}

.schedule-popver-edit:hover .schedule-popver-delete-text {
  color: #ea4344 !important;
}

.schedule-popover {
  min-width: 440px !important;
}

.schedule-popover .arrow:after {
  border-left-color: #6F64F8 !important;
  border-right-color: #6F64F8 !important;
}

.schedule-popover .arrow:before {
  border-right-color: #6F64F8 !important;
  border-left-color: #6F64F8 !important;
}

.schedule-popover.bs-popover-auto[x-placement^="left"] > .arrow::after {
  right: -15px;
  border-width: 2.5rem 0 2.5rem 2.5rem;
  top: calc(-2.5rem + 7px)
}

.schedule-popover.bs-popover-auto[x-placement^="right"] > .arrow::before {
  left: -15px;
  border-width: 2.5rem 2.5rem 2.5rem 0;
  top: calc(-2.5rem + 7px)
}

.schedule-popover.bs-popover-auto[x-placement^="right"] {
  left: 20px !important;
}

.schedule-popover.bs-popover-auto[x-placement^="left"] {
  left: -20px !important;
}

.schedule-popover .popover-header, .schedule-popover .popover-body {
  background-color: #6F64F8 !important;
}
.schedule-item{
  color: #101738!important;
}
.schedule-popover .popover-body {
  min-height: 300px !important;
}

body.dark-layout .schedule-item{
  border: 1px solid #101738;
  background-color: #101738;
  color: #FFFFFF!important;
}


.tab-info__flatpickr-group{
  input{
    min-width: 100%;
  }
  .schedule-list-item {
    border-radius: 5px;
    padding: 10.5px 20px 10.5px 10px;
  }
  .schedule-list-item {
    color:  #101738!important;
  }
  .form-control-position {
    z-index: 0;
  }
  .description{
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 23px;
  }
}
body.dark-layout .schedule-list-item {
  background-color: #101738 !important;
  color: #FFFFFF!important;
}

.description{
  margin-bottom: 5px;
  height: 21px!important;
}
.schedule-modal-body {
  .not-colored-button{
    border: none!important;
    padding: 2px!important;
  }
  .schedule-item {
    border-radius: 5px;
    font-size: 15px;
    color: #EBEEFC;
    box-sizing: border-box;
    outline: none;
    width: 100%;
    height: 100%;
    border: 1px solid #d9d9d9;
    background-color: #f5f5f1;
  }

  .schedule-item:focus {
    border: 1px solid #6F64F8;
    box-shadow: 0 0 5px rgba(111, 100, 248, 0.83);
  }

  .schedule-input-select .dark_select__control {
    height: 42px;
  }

  .schedule-input-description {
    min-height: 105px;
  }
  .schedule-input {
    padding: 10.5px 20px 10.5px 10px;
  }

  .schedule-input-description::-webkit-scrollbar {
    width: 8px;
  }

  .schedule-input-description::-webkit-scrollbar-track {
    background: #10163a;
    cursor: pointer;
  }

  .schedule-input-description::-webkit-scrollbar-thumb {
    background: #7367f0;
    border-radius: 1px;
  }

  .schedule-input-description::-webkit-scrollbar-thumb:hover {
    background: #7367f0;
  }
}
@media (min-width: 576px){
  .schedules{
    .modal-dialog {
      max-width: 800px;
      padding-left: 2rem;
      padding-right: 2rem;
    }
  }
}


@media screen and (max-width: 650px) {
  .schedule-popover {
    display: none !important;
  }
  .schedule-popover-620 {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #6F64F8;
    z-index: 1999;
    padding: 10px;
    border-radius: 5px;
  }
  .schedule-popover-item {
    font-size: 16px;
  }
}

@media screen and (max-width: 400px) {
  .schedule-popover-item {
    font-size: 14px;
  }
}
